package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.SignInHistory;
import io.swagger.models.auth.In;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

public interface SignInHistoryMapper {
    int deleteByPrimaryKey(Long id);

    int insert(SignInHistory record);

    SignInHistory selectByPrimaryKey(Long id);

    List<SignInHistory> selectAll();

    int updateByPrimaryKey(SignInHistory record);

    List<SignInHistory> selectByUserId(Long userId);

    List<Date> selectDaysByMonth(@Param("strMonth") String strMonth, @Param("userId") Long userId);
}